/*
  DuinolabBlink
  Turns on an LED on for one second, then off for one second, repeatedly.
 
  This example code is based on the Arduino Blink example.
 */

#include <Duinolab.h>
#include <Wire.h>      // need to get rid of this - Arduino IDE is too clever...

// DuinolabClass Duinolab = DuinolabClass(); 

void setup() {  
  // Connect LED 0 from the Duinolab  
  Duinolab.Init();
  Duinolab.ConnectToArduino(LED_GREEN);
}

void loop() {
  Duinolab.LEDOn(LED_GREEN);   // set the LED on
  delay(1000);              // wait for a second
  Duinolab.LEDOff(LED_GREEN);  // set the LED off
  delay(1000);              // wait for a second
}
